package com.zndroid.netmonitor;

import androidx.annotation.StringDef;

import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;

import static com.zndroid.netmonitor.NetType.NET_UNKNOWN;
import static com.zndroid.netmonitor.NetType.NET_NONE;
import static com.zndroid.netmonitor.NetType.NET_CELLULAR;
import static com.zndroid.netmonitor.NetType.NET_WIFI;
import static com.zndroid.netmonitor.NetType.NET_VPN;
import static com.zndroid.netmonitor.NetType.NET_BLUETOOTH;
import static com.zndroid.netmonitor.NetType.NET_2G;
import static com.zndroid.netmonitor.NetType.NET_3G;
import static com.zndroid.netmonitor.NetType.NET_4G;
import static com.zndroid.netmonitor.NetType.NET_5G;

@StringDef({NET_UNKNOWN, NET_NONE, NET_WIFI, NET_CELLULAR, NET_VPN, NET_BLUETOOTH, NET_2G, NET_3G, NET_4G, NET_5G})
@Retention(RetentionPolicy.SOURCE)
public @interface NetType {
    String NET_UNKNOWN = "UNKNOWN";
    String NET_NONE = "NONE";

    String NET_WIFI = "WiFi";
    String NET_CELLULAR = "CELLULAR";
    String NET_VPN = "VPN";
    String NET_BLUETOOTH = "BLUETOOTH";
    String NET_2G = "2G";
    String NET_3G = "3G";
    String NET_4G = "4G";
    String NET_5G = "5G";
}
